PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Crystalize / suksma - criminally negligent craft and bake sale.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=3.940 |
| 8 | fDecay=0.995 |
| 9 | fVideoEchoZoom=1.405 |
| 10 | fVideoEchoAlpha=0.560 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=1 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=1.008 |
| 26 | fWaveScale=1.002 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.500 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=9.861 |
| 32 | fWarpScale=16.217 |
| 33 | fZoomExponent=1.50374 |
| 34 | fShader=1.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=1.00000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.010 |
| 50 | ob_r=1.000 |
| 51 | ob_g=0.100 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.050 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=11.520 |
| 60 | nMotionVectorsY=10.560 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.500 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=0 |
| 128 | shapecode_0_sides=4 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=0 |
| 131 | shapecode_0_textured=0 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.10000 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=0.000 |
| 141 | shapecode_0_b=0.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=0.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=0.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.100 |
| 151 | shapecode_1_enabled=0 |
| 152 | shapecode_1_sides=4 |
| 153 | shapecode_1_additive=0 |
| 154 | shapecode_1_thickOutline=0 |
| 155 | shapecode_1_textured=0 |
| 156 | shapecode_1_num_inst=1 |
| 157 | shapecode_1_x=0.500 |
| 158 | shapecode_1_y=0.500 |
| 159 | shapecode_1_rad=0.10000 |
| 160 | shapecode_1_ang=0.00000 |
| 161 | shapecode_1_tex_ang=0.00000 |
| 162 | shapecode_1_tex_zoom=1.00000 |
| 163 | shapecode_1_r=1.000 |
| 164 | shapecode_1_g=0.000 |
| 165 | shapecode_1_b=0.000 |
| 166 | shapecode_1_a=1.000 |
| 167 | shapecode_1_r2=0.000 |
| 168 | shapecode_1_g2=1.000 |
| 169 | shapecode_1_b2=0.000 |
| 170 | shapecode_1_a2=0.000 |
| 171 | shapecode_1_border_r=1.000 |
| 172 | shapecode_1_border_g=1.000 |
| 173 | shapecode_1_border_b=1.000 |
| 174 | shapecode_1_border_a=0.100 |
| 175 | shapecode_2_enabled=0 |
| 176 | shapecode_2_sides=4 |
| 177 | shapecode_2_additive=0 |
| 178 | shapecode_2_thickOutline=0 |
| 179 | shapecode_2_textured=0 |
| 180 | shapecode_2_num_inst=1 |
| 181 | shapecode_2_x=0.500 |
| 182 | shapecode_2_y=0.500 |
| 183 | shapecode_2_rad=0.10000 |
| 184 | shapecode_2_ang=0.00000 |
| 185 | shapecode_2_tex_ang=0.00000 |
| 186 | shapecode_2_tex_zoom=1.00000 |
| 187 | shapecode_2_r=1.000 |
| 188 | shapecode_2_g=0.000 |
| 189 | shapecode_2_b=0.000 |
| 190 | shapecode_2_a=1.000 |
| 191 | shapecode_2_r2=0.000 |
| 192 | shapecode_2_g2=1.000 |
| 193 | shapecode_2_b2=0.000 |
| 194 | shapecode_2_a2=0.000 |
| 195 | shapecode_2_border_r=1.000 |
| 196 | shapecode_2_border_g=1.000 |
| 197 | shapecode_2_border_b=1.000 |
| 198 | shapecode_2_border_a=0.100 |
| 199 | shapecode_3_enabled=0 |
| 200 | shapecode_3_sides=4 |
| 201 | shapecode_3_additive=0 |
| 202 | shapecode_3_thickOutline=0 |
| 203 | shapecode_3_textured=0 |
| 204 | shapecode_3_num_inst=1 |
| 205 | shapecode_3_x=0.500 |
| 206 | shapecode_3_y=0.500 |
| 207 | shapecode_3_rad=0.10000 |
| 208 | shapecode_3_ang=0.00000 |
| 209 | shapecode_3_tex_ang=0.00000 |
| 210 | shapecode_3_tex_zoom=1.00000 |
| 211 | shapecode_3_r=1.000 |
| 212 | shapecode_3_g=0.000 |
| 213 | shapecode_3_b=0.000 |
| 214 | shapecode_3_a=1.000 |
| 215 | shapecode_3_r2=0.000 |
| 216 | shapecode_3_g2=1.000 |
| 217 | shapecode_3_b2=0.000 |
| 218 | shapecode_3_a2=0.000 |
| 219 | shapecode_3_border_r=1.000 |
| 220 | shapecode_3_border_g=1.000 |
| 221 | shapecode_3_border_b=1.000 |
| 222 | shapecode_3_border_a=0.100 |
| 223 | per_frame_1=warp = 0; |
| 224 | per_frame_2=volume = 0.3*(bass+mid+att); |
| 225 | per_frame_3=xamptarg = if(equal(frame%15,0),min(0.25*volume*bass_att,0.5),xamptarg); |
| 226 | per_frame_4=xamp = xamp + 0.5*(xamptarg-xamp); |
| 227 | per_frame_5=xdir = if(above(abs(xpos),xamp),-sign(xpos),if(below(abs(xspeed),0.1),2*above(xpos,0)-1,xdir)); |
| 228 | per_frame_6=xspeed = xspeed + xdir*xamp - xpos - xspeed*0.055*below(abs(xpos),xamp); |
| 229 | per_frame_7=xpos = xpos + 0.001*xspeed; |
| 230 | per_frame_8=yamptarg = if(equal(frame%15,0),min(0.15*volume*treb_att,0.5),yamptarg); |
| 231 | per_frame_9=yamp = yamp + 0.5*(yamptarg-yamp); |
| 232 | per_frame_10=ydir = if(above(abs(ypos),yamp),-sign(ypos),if(below(abs(yspeed),0.1),2*above(ypos,0)-1,ydir)); |
| 233 | per_frame_11=yspeed = yspeed + ydir*yamp - ypos - yspeed*0.055*below(abs(ypos),yamp); |
| 234 | per_frame_12=ypos = ypos + 0.001*yspeed; |
| 235 | per_frame_13=beatrate = equal(beatrate,0) + (1-equal(beatrate,0))*(below(volume,0.01) + (1-below(volume,0.01))*beatrate); |
| 236 | per_frame_14=lastbeat = lastbeat + equal(lastbeat,0)*time; |
| 237 | per_frame_15=meanbass_att = 0.1*(meanbass_att*9 + bass_att); |
| 238 | per_frame_16=peakbass_att = max(bass_att,peakbass_att); |
| 239 | per_frame_17=beat = above(volume,0.8)*below(peakbass_att - bass_att, 0.05*peakbass_att)*above(time - lastbeat, 0.1 + 0.5*(beatrate - 0.1)); |
| 240 | per_frame_18=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1); |
| 241 | per_frame_19=peakbass_att = beat*bass_att + (1-beat)*peakbass_att*(above(time - lastbeat, 2*beatrate)*0.95 + (1-above(time - lastbeat, 2*beatrate))*0.995); |
| 242 | per_frame_20=lastbeat = beat*time + (1-beat)*lastbeat; |
| 243 | per_frame_21=peakbass_att = max(peakbass_att,1.1*meanbass_att); |
| 244 | per_frame_22=wave_x = xpos + 0.5; |
| 245 | per_frame_23=wave_y = 1-(ypos + 0.5); |
| 246 | per_frame_24=wave_r = 0.5 + 0.499*( 0.60*sin(0.980*time) + 0.40*sin(1.047*time) ); |
| 247 | per_frame_25=wave_g = 0.5 + 0.499*( 0.60*sin(0.835*time) + 0.40*sin(1.081*time) ); |
| 248 | per_frame_26=wave_b = 0.5 + 0.499*( 0.60*sin(0.814*time) + 0.40*sin(1.011*time) ); |
| 249 | per_frame_27=wave_mystery = -0.17 + 0.03*(0.6*sin(0.637*time) + 0.4*sin(0.949*time)); |
| 250 | per_frame_28=mv_r = if(beat, 1, ib_r); |
| 251 | per_frame_29=mv_b = if(beat, wave_b, ib_b); |
| 252 | per_frame_30=//mv_a = if(beat, 0.1, ib_a); |
| 253 | per_frame_31=//ib_a = 0.015; |
| 254 | per_frame_32=q3 = wave_mystery; |
| 255 | per_frame_33=q1 = wave_x; |
| 256 | per_frame_34=q2 = 1-wave_y; |
| 257 | per_frame_35=q2 = ypos+0.5; |
| 258 | per_frame_36=warp=0; |
| 259 | per_frame_37= |
| 260 | per_frame_38=//q2 = 1-(ypos + 0.5); |
| 261 | per_frame_39=//q1 = 0.5; |
| 262 | per_frame_40=//q2=0.5; |
| 263 | per_frame_41=ob_r = 1-wave_g; |
| 264 | per_frame_42=ob_b = 1-wave_r; |
| 265 | per_frame_43=ob_g = 1-wave_b; |
| 266 | per_frame_44= |
| 267 | per_frame_45=monitor = wave_y; |
| 268 | per_frame_46=movement =movement + 0.4*(((bass+bass_att + 0.1*pow((bass+0.6*bass_att+0.2*treb_att),3)))/fps); |
| 269 | per_frame_47=movement = if(above(movement,10000), 0, movement); |
| 270 | per_frame_48=rot =1*sin(movement); |
| 271 | per_frame_49=cx = wave_x; |
| 272 | per_frame_50=cy = y_pos+0.5; |
| 273 | per_frame_51= |
| 274 | per_frame_52=q8 = movement; |
| 275 | per_pixel_1=myy = x-q1; |
| 276 | per_pixel_2=myx = y-q2+0.1; |
| 277 | per_pixel_3=dx = 3*sin(q8*0.675)*(2*myx*myy); |
| 278 | per_pixel_4=dy = 3*sin(q8*0.675)*((myx*myx) - (myy*myy)); |
| 279 | warp_1=`shader_body |
| 280 | warp_2=`{ |
| 281 | warp_3=`float2 pixelsize = texsize.zw; |
| 282 | warp_4=`float2 uvm = uv_orig; |
| 283 | warp_5=` |
| 284 | warp_6=`float2 noise_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy; |
| 285 | warp_7=`float4 noiseVal = tex2D(sampler_noise_lq, noise_uv); |
| 286 | warp_8=` |
| 287 | warp_9=`ret.xyz = saturate(tex2D( sampler_pw_main,uvm).xyz*float3(1,1,1) - float3(.0,.0,.0)); |
| 288 | warp_10=`ret.xyz = tex2D( sampler_pw_main,uvm).xyz; |
| 289 | warp_11=` |
| 290 | warp_12=` |
| 291 | warp_13=`float3 rsamp = tex2D(sampler_pw_main,uvm + (noiseVal.xy-.5)*12*pixelsize).xyz; |
| 292 | warp_14=`if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) { |
| 293 | warp_15=`ret.xy = rsamp.xy; |
| 294 | warp_16=`} |
| 295 | warp_17=` |
| 296 | warp_18=`rsamp = tex2D(sampler_pw_main,uvm + (noiseVal.zw-.5)*48*pixelsize).xyz; |
| 297 | warp_19=`if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) { |
| 298 | warp_20=`ret.xy = rsamp.xy; |
| 299 | warp_21=`} |
| 300 | warp_22=` |
| 301 | warp_23=`ret.z = tex2D(sampler_fw_main,ret.xy).z; |
| 302 | warp_24=` |
| 303 | warp_25=`ret.z -= q1*.005; |
| 304 | warp_26=` |
| 305 | warp_27=`if (ret.z < .09) { |
| 306 | warp_28=`ret*=0; |
| 307 | warp_29=`} |
| 308 | warp_30=` |
| 309 | warp_31=` |
| 310 | warp_32=`} |
| 311 | comp_1=` |
| 312 | comp_2=` |
| 313 | comp_3=` |
| 314 | comp_4=` |
| 315 | comp_5=`shader_body |
| 316 | comp_6=`{ |
| 317 | comp_7=` uv = 0.05 + 0.9*uv; |
| 318 | comp_8=` ret = tex2D(sampler_main, uv).xyz; |
| 319 | comp_9=` // SUPER GLOW EDGES - looks awesome w/octopus |
| 320 | comp_10=` float3 avg_col = GetBlur2(uv); |
| 321 | comp_11=` ret = abs(avg_col - ret)*6; |
| 322 | comp_12=` ret *= .85; // a little bit of overbright |
| 323 | comp_13=`} |